//表格样式
.el-table thead tr {
  .el-table__cell {
    background-color: $bg-ligth !important;
  }
}

.el-dialog__header {
  border-bottom: $border-4;
  margin-right: 0 !important;
  // box-shadow: $bottom-shadow;
}

.el-dialog__body {
  padding: 20px;
}

.el-form-item--default {
  margin-bottom: 10px;

  &:last-child {
    margin-bottom: 10px !important;
  }
}

// 拖拽的
.splitpanes.default-theme .splitpanes__pane {
  background-color: $bg-white !important;
}

.splitpanes--vertical>.splitpanes__splitter {
  width: 7px;
  border-left: 1px solid #eee;
  margin-left: -1px;
  background-color: $bg-gray;
}

.splitpanes--horizontal>.splitpanes__splitter {
  height: 7px;
  border-top: 1px solid #eee;
  margin-top: -1px;
  background-color: $bg-gray;
}

.splitpanes .splitpanes__splitter {
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
}

.splitpanes .splitpanes__splitter:before,
.splitpanes .splitpanes__splitter:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #00000026;
  transition: background-color 0.3s;
}

.splitpanes--vertical>.splitpanes__splitter:before {
  margin-left: -2px;
}

.splitpanes--horizontal>.splitpanes__splitter:before {
  margin-top: -2px;
}

.splitpanes--vertical>.splitpanes__splitter:before,
.splitpanes--vertical>.splitpanes__splitter:after {
  transform: translateY(-50%);
  width: 1px;
  height: 30px;
}

.splitpanes--horizontal>.splitpanes__splitter:before,
.splitpanes--horizontal>.splitpanes__splitter:after {
  transform: translateX(-50%);
  height: 1px;
  width: 30px;
}

.tools {
  padding: 10px;
  margin-bottom: 5px;
  background-color: $bg-white;
  text-align: left;
  box-shadow: $bottom-shadow;
}

// 内容区域
.content {
  padding: 5px 0;
}

.bottom-page {
  background-color: $bg-white;
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
}

//form级的统一文本框宽度
.form-input-xxs {
  .el-input {
    width: 55px;
  }
}

.input-xxs {
  .el-input {
    width: 60px !important;

    input {
      padding-left: 10px;
      padding-right: 10px;
    }
  }
}

.form-input-xs {
  .el-input {
    width: 100px;
  }
}

.input-xs {
  .el-input {
    width: 100px !important;
  }
}

.form-input-s {
  .el-input {
    width: 130px;
  }
}

.form-input-sm {
  .el-input {
    width: 150px;
  }
}

.input-s {
  .el-input {
    width: 130px !important;
  }
}

.form-input-m {
  .el-input {
    width: 200px;
  }

  .vxe-input {
    width: 200px !important;
  }
}

.input-m {
  .el-input {
    width: 200px !important;
  }
}

.form-input-ml {
  .el-input {
    width: 280px;
  }
}

.form-input-l {
  .el-input {
    width: 400px;
  }
}

.input-l {
  .el-input {
    width: 400px !important;
  }

  .vxe-input {
    width: 400px !important;
  }
}

.form-input-xl {
  .el-input {
    width: 500px;
  }
}

.input-xl {
  .el-input {
    width: 500px !important;
  }
}

.menu-ul {
  padding: 0;
  margin: 0;

  li {
    list-style-type: none;
    line-height: 30px;
    padding: 0;
    margin: 0;
    cursor: pointer;

    .el-button {
      width: 100%;
      padding: 0;
      margin: 0;
    }
  }
}

.template-page {
  height: 100%;
}

.cursor {
  cursor: pointor;
}

// 布局大盒子边距(与面包屑平级)
.bodyContent {
  padding: 10px;
  background-color: $bg-gray;
  height: 100%;
}

// Vxe按钮尺寸(为了与el-button的匹配)
.vxe-button.size--mini {
  height: 24px;
  padding: 5px 11px !important;
}

.vxe-button.size--small {
  height: 32px;
  padding: 8px 15px !important;
}

// 按钮
.button-blue {
  background-color: $btn-blue !important;
  border-radius: 4px;
  color: $bg-white !important;
  border: none;
  line-height: 16px;
}

// 操作按钮(删除)
.button-red {
  background-color: $btn-red !important;
  border-radius: 4px;
  color: $bg-white !important;
  border: none;
  line-height: 16px;
}

// 操作按钮(测试预览)
.button-green {
  background-color: $btn-green !important;
  border-radius: 4px;
  color: $bg-white !important;
  border: none;
  line-height: 16px;
}

// 按钮鼠标经过
.button-blue:hover {
  border-color: $btn-blue !important;
  background-color: $btn-blue-hover !important;
}

.button-red:hover {
  border-color: $btn-red !important;
  background-color: $btn-red-hover !important;
}

.button-green:hover {
  border-color: $btn-green !important;
  background-color: $btn-green-hover !important;
}

// 表格选中的这一项加深蓝色
.vxe-table--render-default .vxe-body--row.row--current {
  background-color: $vxe-table-selectedColor !important;
}

// el-tree选中的这一项加深蓝色
.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
  background-color: $vxe-table-selectedColor;
}

// toolbar 标题底色白色
.vxe-toolbar.is--perfect {
  background-color: $base-white !important;
  border: none !important;
  padding: 3px 10px;
  font-size: 14px !important;
}

// Vxe-table里的细的滚动条  调用时直接加上类名 class="mytable-scrollbar"

/*滚动条整体部分*/
.mytable-scrollbar ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/*滚动条的轨道*/
.mytable-scrollbar ::-webkit-scrollbar-track {
  background-color: #ffffff;
}

/*滚动条里面的小方块，能向上向下移动*/
.mytable-scrollbar ::-webkit-scrollbar-thumb {
  background-color: #bfbfbf;
  border-radius: 5px;
  border: 1px solid #f1f1f1;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.mytable-scrollbar ::-webkit-scrollbar-thumb:hover {
  background-color: #a8a8a8;
}

.mytable-scrollbar ::-webkit-scrollbar-thumb:active {
  background-color: #787878;
}

/*边角，即两个滚动条的交汇处*/
.mytable-scrollbar ::-webkit-scrollbar-corner {
  background-color: #ffffff;
}

// input搜索关键字框与右边按钮间距
.vxeInputSearch {
  margin-right: 5px;
}

// toolbar的小标题
.smallToolTitle {
  font-weight: bold;
  margin-right: 10px;
  padding-left: 5px;
}

// 中间和最右侧的基本信息和权限详情标题
.toolbartitle {
  font-weight: bold;
  height: 40px;
  line-height: 40px;
  padding-left: 10px;
}

.el-form-item--small {
  margin-bottom: 10px;
}

.vxe-cell {
  padding-left: 2px !important;
}

.clear-vxe-text-btn-class {
  padding: 0px !important;
}

//公共全局样式
.width-100-percentage {
  width: 100% !important;
}

.vxe-message-maxBox .vxe-modal--box{
  font-size: 18px;
  line-height: 5px;
}